# _*_ coding utf-8 _*_
# @Time :2025/05/25 08:01
# @Author:lan ling

import WebPageAnalyse

# 构造请求头
headers = {
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36(HTML,""like Gecko) Chrome/81.0.4044.138 Safari/537.36"
    # "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0"
}

# url = "https://www.22biqu.com/biqu3637/3/"
url = "https://m.yfthg.com/article/78381.html"
chapter_info_list = {}

if __name__ == '__main__':
    chapter_info_list = WebPageAnalyse.biquge2_get_catalogue(url,headers)
    # print(chapter_info_list)
    WebPageAnalyse.biquge2_get_content(chapter_info_list,headers)